/** Styles for _includes/templates/tabs.html */
.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.tabs label {
  order: 1;
  display: block;
  padding: 1rem 2rem;
  margin-right: 0.2rem;
  cursor: pointer;
  background-color: #daedf5;
  font-weight: 700;
  transition: background ease 0.2s;
}
.tabs .tab {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  background-color: #f6f5f5;
}
.tabs input[type="radio"] {
  display: none;
  &:checked + label {
    background-color: #f6f5f5;
  }
  &:checked + label + .tab {
    display: block;
    overflow: scroll;
  }
}

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}
